package com.springboot.demo.design.pattern;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * 连接类
 *
 * @author supu
 * @date 2019-07-04 15:41
 **/
@Data
@AllArgsConstructor
public class Connection implements Serializable {
    private static final long serialVersionUID = 1976073680783798110L;

    private String host;

    private Integer port;
}
